//
//  Controller.h
//  YaoHeAPP
//
//  Created by mac on 15/11/23.
//  Copyright (c) 2015年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"
#import "Define.h"
#import "ClassData.h"
#import <UIKit/UIKit.h>
//#import "Tool.h"
@interface Controller : NSObject

//没有文件上传的接口的请求
+(void)requestWithURL:(NSString*)urlString jsondic:(NSDictionary*)dic finishBlock:(void(^)(ClassData*))complete;

//注册公司时上传图片
+(void)requestWithUrl:(NSString*)urlstring parameters:(NSDictionary*)dic BUSINESS:(UIImage*)img1 TAX:(UIImage*)img2 ORGANIZATION:(UIImage*)img3  finishBlock:(void(^)(ClassData*))complete;


//其他需要上传图片调用的方法
+(void)upImgRequestWithUrl:(NSString*)urlstring parameters:(NSDictionary*)dic image:(NSMutableArray*)image   finishBlock:(void(^)(ClassData*))complete;

//发布页面要调用的方法
+(void)upImgRequestWithUrl:(NSString*)urlstring parameters:(NSDictionary*)dic imageDataAndUrl:(NSMutableArray*)image   finishBlock:(void(^)(ClassData*))complete;


+(void)upIOSExceptionHandler;



@end
